home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / new / gfx / misc / adprorunner / install adprorunner < prev    next >
Text File  |  1994-02-10  |  1KB  |  71 lines

  1. ; script to install ADProRunner 
  2.  
  3. (set Opt 3)
  4. (complete 0)
  5.  
  6. ;Get directory to install ADProRunner in.
  7. (set destdir 
  8.     (askdir 
  9.         (prompt "In which drawer should ADProRunner be installed?") 
  10.         (help @askdir-help)
  11.         (default ("ADPro:"))
  12.     )
  13. )
  14.  
  15. (complete 10)
  16.  
  17. (set installfiles
  18.     (askoptions
  19.         (prompt "Which of the following optional programs/helpfile should be installed ?")
  20.         (help @askoptions-help)
  21.         (choices "ADProRunner" "ADProRunner.Guide")
  22.         (default Opt)
  23.     )
  24. )
  25.  
  26. (complete 30)
  27.  
  28. ;Copy program files to destination.
  29.  
  30. (if (BITAND installfiles 1)
  31. (copyfiles
  32.     (source "ADProRunner")
  33.     (dest destdir)
  34. )
  35. )
  36.  
  37. (if (BITAND installfiles 1)
  38. (copyfiles
  39.     (source "ADProRunner.info")
  40.     (dest destdir)
  41. )    
  42. )
  43.  
  44. (complete 60)
  45.  
  46. (if (BITAND installfiles 2)
  47. (
  48.     (makedir ("Help:English")
  49.     )
  50.  
  51. (copyfiles
  52.     (source "Help/ADProRunner.guide")
  53.     (dest "help:english/")
  54. )
  55. )
  56. )
  57.  
  58. (if (BITAND installfiles 2)
  59. (copyfiles
  60.     (source "Help/ADProRunner.guide.info")
  61.     (dest "help:english/")
  62. )
  63. )
  64.  
  65. ;Correct @default-dest so that final information is correct.
  66. (set @default-dest destdir)
  67.  
  68. (complete 100)
  69.  
  70. (exit)
  71.